package com.customer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 员工拥有以及锁定客户员工关联表
 * </p>
 *
 * @author rick
 * @since 2022-12-13 11:23:15
 */
@Getter
@Setter
@TableName("wk_crm_customer_setting_user")
@ApiModel(value = "CrmCustomerSettingUser对象", description = "员工拥有以及锁定客户员工关联表")
public class CrmCustomerSettingUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("客户规则限制ID")
    @TableField("setting_id")
    private Integer settingId;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("部门ID")
    @TableField("dept_id")
    private Integer deptId;

    @ApiModelProperty("1 员工 2 部门")
    @TableField("type")
    private Integer type;


}
